<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/page/share/taglib.jsp" %>
<%@ taglib prefix="zjf" uri="http://www.zjf.com.cn/mytag" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/css/style.css" />
		<title><bean:message key="siteName"/></title>
	</head>
	<body>
		<div id="wrap">
			<div id="top_content"> 
				<div id="header">
					<div id="rightheader">
						<p>
							广告位招租
							<br />
						</p>
					</div>
					<div id="topheader">
						<h1 id="title">
							<a href="<%=request.getContextPath() %>/main.do"><bean:message key="siteName"/></a>
						</h1>
					</div>
					<div id="navigation">
					<c:if test="${loginUser==null}">
						<ul>
							<li>
								<html:link action="/login.do?target=ui">登陆</html:link>
							</li>
							<li>
								<html:link action="/reg.do?target=ui">注册</html:link>
							</li>
							<li>
							<html:link action="/search.do?target=ui">搜索</html:link>
							</li>
						</ul>
					</c:if>
					<c:if test="${loginUser!=null }">
						<ul>
						<li>
						欢迎您，${loginUser.username }[${loginUser.nickname }]，您的身份是：${loginUser.group.name }
						</li>
						
						<li>
						<html:link action="/search.do?target=ui">搜索</html:link>
						</li>
						
						<li>
						<html:link action="/askAddUI.do">申请职务</html:link>
						</li>
						<li>
						<html:link action="/myAskList.do">我的申请单</html:link>
						</li>
						<li>
						<html:link action="/userEdit.do?target=ui">控制面板</html:link>
						</li>
						<li>
						<html:link action="/logout.do">注销</html:link>
						</li>
						</ul>
						
						
					</c:if>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>